import request from '@/utils/request'
import qs from 'qs'
//用户注册请求
export const register=(data)=>{
  return request({
    method:'POST',
    url:'/api/reguser',
    data:qs.stringify(data)
  })
}
//用户登录的请求
export const login=(data)=>{
  return request({
    method:'POST',
    url:'/api/login',
    data:qs.stringify(data)
  })
}
